package com.gisway.pick.tool;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.net.NetUtil;
import cn.hutool.system.oshi.OshiUtil;
import org.jb2011.lnf.beautyeye.BeautyEyeLNFHelper;
import org.slf4j.Logger;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

public class PickToolApplication {

    public static void main(String [] args){
        System.out.println("CPUID:"+OshiUtil.getProcessor().getProcessorIdentifier().getProcessorID()
                +"\n"
                +"MAC:"+ NetUtil.getLocalMacAddress()
                +"\n"
                +"主板ID:"+OshiUtil.getSystem().getBaseboard().getSerialNumber());
        String time = DateUtil.format(new Date(), "yyyy-MM-dd HH:mm:ss");
        System.out.println("数据时间："+time+"时区："+DateUtil.date().getTimeZone());
        ConvertDate.testDate(time);
        try {
            BeautyEyeLNFHelper.frameBorderStyle = BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;
            org.jb2011.lnf.beautyeye.BeautyEyeLNFHelper.launchBeautyEyeLNF();
        } catch(Exception e){
            e.printStackTrace();
        }
        new PickWindow();
        //System.out.println(System.getProperty("java.library.path"));
    }

}
